package com.jinlingxiu.app.di

import com.jinlingxiu.app.mvp.contract.PassContract
import com.jinlingxiu.app.mvp.model.PassModel
import com.jinlingxiu.app.mvp.presenter.PassPresenter
import com.jinlingxiu.app.mvp.ui.activity.PassActivity
import org.koin.dsl.module

val PassModule = module {
    scope<PassActivity> {
        scoped<PassContract.Model> { PassModel(get()) }
        scoped {
            PassPresenter(get(), this.getSource())
        }
    }
}
